package com.ljtg.ljtgpojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "CommodityPageDTO", description = "商品分页查询数据传输对象")
public class CommodityPageDTO {

    @Schema(description = "商品名称", example = "iPhone 13")
    private String name;

    @Schema(description = "页码", example = "1")
    private int page;

    @Schema(description = "每页显示记录数", example = "10")
    private int pageSize;
}